﻿namespace DevelopTool.Model.ChatModels
{
    /// <summary>
    /// 聊天文件分片数据
    /// </summary>
    public class ChatFileChunkData
    {
        /// <summary>
        /// 用户id GUID
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 文件编号
        /// </summary>
        public string FileId { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// 分片索引
        /// </summary>
        public int ChunkIndex { get; set; }

        /// <summary>
        /// 总分片大小
        /// </summary>
        public int TotalChunks { get; set; }

        /// <summary>
        /// 分片数据
        /// </summary>
        public byte[] Data { get; set; }
    }
}
